package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author YDW
 * projectName:4_05_springboot_mybatis
 * time:2022/6/9 17:27
 * description:
 */
public interface UserDao {

    @Select("select * from t_users")
    public List<User> findAll();

    public User findById(Integer id);

}
